package com.simple.datax.seda.core.event;
import com.simple.datax.seda.api.QueueElementIF;
public class EntityNestedEvent implements QueueElementIF {
	private Object nestedEntity;
	private int errorCode;
	private String errorMessage;

	public EntityNestedEvent(Object entity) {
		this.nestedEntity = entity;
	}

	public Object getNestedEntity() {
		return nestedEntity;
	}

	public void setNestedEntity(Object product) {
		this.nestedEntity = product;
	}

	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

}
